import "./assets/main.css";
import "./assets/style.scss";
import "./assets/el.css";

import { createApp } from "vue";
import { pinia } from "@/stores";
import "@/utils/rem.js";
import ElementPlus from "element-plus";
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";
// import "element-plus/dist/index.css";
//引入cesium基础库
import "mars3d-cesium/Build/Cesium/Widgets/widgets.css";
import * as Cesium from "mars3d-cesium";

//导入mars3d主库
import "mars3d/dist/mars3d.css";

import App from "./App.vue";
import router from "./router";

// const pinia = createPinia();
// pinia.use(piniaPluginPersistedstate);
const app = createApp(App).use(pinia);

// import tables from "./components/tables.vue";
// app.component("tables", tables);
// import tablecolumn from "./components/tablecolumn.vue";
// app.component("table-column", tablecolumn);

// app.use(pinia);
// app.use(createPinia());
app.use(router);
app.use(ElementPlus);
app.mount("#app");
